package com.brillilab.domain.po.lab;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonInclude;

import java.io.Serializable;
import java.util.Date;




/**
 * <p>机构表</p>
 *
 * @author wmh
 */
/**机构信息*/
@TableName("organization")
@JsonInclude(JsonInclude.Include.NON_NULL)
public class Organization implements Serializable {

    private static final long serialVersionUID=1L;


    /**机构ID*/
    @TableId(type=IdType.AUTO)
    private Long id;

    /**父级机构ID*/
    private Long parentId;

    /**机构名称*/
    private String name;

    /**机构代码*/
    private String pycode;

    /**机构简称*/
    private String shortName;

    /**国家*/
    private String nation;

    /**区域*/
    private String area;

    /**备注*/
    private String remark;

    /**创建时间 */
    private Date createTime;

    /**修改时间 */
    private Date updateTime;
    
    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id=id;
    }


    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId=parentId;
    }


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name=name;
    }


    public String getPycode() {
        return pycode;
    }

    public void setPycode(String pycode) {
        this.pycode=pycode;
    }


    public String getNation() {
        return nation;
    }

    public void setNation(String nation) {
        this.nation=nation;
    }

    public String getShortName() {
        return shortName;
    }

    public void setShortName(String shortName) {
        this.shortName = shortName;
    }

    public String getArea() {
        return area;
    }

    public void setArea(String area) {
        this.area=area;
    }


    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark=remark;
    }

    public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

    @Override
    public String toString() {
        return "Organization{" +
                "id=" + id +
                ", parentId=" + parentId +
                ", name='" + name + '\'' +
                ", pycode='" + pycode + '\'' +
                ", shortName='" + shortName + '\'' +
                ", nation='" + nation + '\'' +
                ", area='" + area + '\'' +
                ", remark='" + remark + '\'' +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                '}';
    }
}
